@layout("/common/_container.html"){
<!--<form  action="/standard/add" method="post" enctype="multipart/form-data">-->
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input id="id" name="" type="hidden"/>
                <div class="row">
                    <div class="col-sm-6 b-r">

                        <#input id="standardCode" name="标识码" underline="true"/>
                        <#input id="standardName" name="名称" underline="true"/>
                        <#input id="standardId" name="批号" underline="true"/>
                        <#input id="standardLabel" name="标号" underline="true"/>
                        <#input id="standardOrigin" name="来源" underline="true"/>
                        <#input id="standardSize" name="规格大小" underline="true"/>
                        <#input id="standardUse" name="用途" underline="true"/>

                        <form  action="/doc/add" method="post" enctype="multipart/form-data">
                            上传附件:<input type="file" name="file" id="file">
                            <input type="submit" value="上传">
                        </form>

                    </div>
                    <div class="col-sm-6">
                        <div class="layui-inline">
                            <#input id="standardDate" name="生产日期" type="text" underline="true"/>
                        </div>
                        <#input id="standardPeriod" name="有效期" underline="true"/>
                        <#select id="standardPeriodYn" name="是否过期" underline="true">
                            <option value="0">是</option>
                            <option value="1">未过期</option>
                        </#select>
                        <#select id="standardType" name="物质类型" underline="true">
                            <option value="0">对照品</option>
                            <option value="1">标准物质</option>
                        </#select>
                        <#input id="standardPath" name="存储路径" underline="true"/>
                        <#input id="standardCondition" name="存储条件" underline="true"/>
                        <#input id="standardPrice" name="单价" underline="true"/>
                        <#input id="standardPersion" name="登记人" underline="true"/>
                    </div>
                </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button type="button" btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="StandardInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="StandardInfoDlg.close()"/>
                </div>
            </div>

        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/standard/standard/standard_info.js"></script>
<script>
        laydate.render({
            elem: '#standardDate'
            ,type: 'datetime'
        });
</script>
@}
